package com.youan.log.modules.audit.dataimport.bean;

import com.youan.log.common.threadtask.ThreadTaskKeys;

public class ImportTaskKey implements ThreadTaskKeys {


    /**
     * 队列就绪状态
     */
    public static final int THREAD_TASK_STATUS_READY = 0;
    public static final String THREAD_TASK_STATUS_READY_TEXT = "任务就绪";

    /**
     * 执行创建索引
     */
    public static final int THREAD_TASK_STATUS_CREATE_INDEX = 4;
    public static final String THREAD_TASK_STATUS_CREATE_INDEX_TEXT = "创建索引";


    /**
     * 执行聚合状态
     */
    public static final int THREAD_TASK_STATUS_AGG = 5;
    public static final String THREAD_TASK_STATUS_AGG_TEXT = "执行聚合";

    /**
     * 执行聚合状态
     */
    public static final int THREAD_TASK_STATUS_ATTACK = 6;
    public static final String THREAD_TASK_STATUS_ATTACK_TEXT = "攻击分析";

    @Override
    public String getThreadTaskName() {
        return "import_region_data";
    }
}
